package yo.latyoo.hokage.tools.util;

import org.apache.commons.lang3.StringUtils;

public class StringUtil extends org.apache.commons.lang3.StringUtils{

    public static boolean isNull(Object object) {
        if (object == null) {
            return true;
        } else {
            String str = String.valueOf(object);
            return isNull(str);
        }
    }

    public static boolean isNull(String args) {
        return args == null || args.trim().length() == 0;
    }

}
